package asapIs134CK.womi.client.Quizzes;

import java.util.List;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.VerticalPanel;

public class QuizzCreator extends Composite{
	private VerticalPanel panel;
	private FlowPanel sudoku;
	private Label sudLabel;
	private ListBox sudokuChoices;
	private FlowPanel arithmetic;
	private Label ariLabel;
	private ListBox arithmeticChoices;
	private FlowPanel frog;
	private Label frogLabel;
	private ListBox frogChoices;
	private FlowPanel actions;
	private Button validate;
	private Button cancel;
	
	
	public QuizzCreator(){
		panel = new VerticalPanel();
		sudoku = new FlowPanel();
		sudLabel = new Label("Sudoku difficulty : ");
		sudoku.add(sudLabel);
		sudokuChoices = new ListBox();
		sudokuChoices.addItem("very easy", 60+"");
		sudokuChoices.addItem("easy",50+"");
		sudokuChoices.addItem("normal",40+"");
		sudokuChoices.addItem("hard",35+"");
		sudokuChoices.addItem("very hard",30+"");
		sudoku.add(sudokuChoices);
		panel.add(sudoku);
		
		arithmetic = new FlowPanel();
		ariLabel = new Label("Arithmetic quizz difficulty : ");
		arithmetic.add(ariLabel);
		arithmeticChoices = new ListBox();
		arithmeticChoices.addItem("very easy", 0+"");
		arithmeticChoices.addItem("easy", 1+"");
		arithmeticChoices.addItem("normal", 2+"");
		arithmeticChoices.addItem("hard", 3+"");
		arithmeticChoices.addItem("very hard", 4+"");
		arithmetic.add(arithmeticChoices);
		panel.add(arithmetic);
		
		// TODO : voir comment leo stocke ses maps !!
		frog = new FlowPanel();
		frogLabel = new Label();
	}
}
